<div class="liveonstage_elm">
<?
echo '<h1>'.$content->title.' – '.$content->get_nice_date().'</h1>';
echo '<p>'.$content->text.'</p>';


if($content->var2){
	echo '<p>'.html::anchor($content->var1, $content->var2, array('target'=>'_blank')).'</p>';	
}else{
echo '<p>'.text::auto_link($content->var1,array('target'=>'_blank')).'</p>';
}

$subview=new View('contentmodule/mediacont_withnavi');
$subview->content=$content;
$subview->maxw=600;
$subview->maxh=350;
echo $subview;

?>
</div>